{% extends "_base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block navi %}
    <li><a href="{{ url_for('web.index') }}">首页</a></li>
    <li><a href="{{ url_for('web.my_collect') }}">收藏</a></li>
    <li><a href="{{ url_for('web.about') }}">关于</a></li>
{% endblock %}

{% block page_content %}

    <div class="page-header" style="margin-top: -10px;">
        <h3>我的信息</h3>
    </div>
    <div class="me-box me-profile">
{#        <h5><b>我的基本信息</b></h5>#}
{#        <hr>#}
        <b>{{ current_user.username }}</b> | {{ current_user.phone }}
    </div>

{#    <div class="me-box">#}
{#        <h5><b>我的收藏</b></h5>#}
{##}
{#        {% if not collectedDocs %}#}
{#            <hr>#}
{#            您当前没有收藏文档。#}
{#        {% endif %}#}
{##}
{#        <div class="results">#}
{#            {% for item in collectedDocs %}#}
{#                <hr>#}
{#                <div class="result_item">#}
{#                    <h4 class="title">#}
{#                        <a href="{{ url_for('web.detail', sid=item.id) }}" target="_blank">{{ item.title }}</a>#}
{#                    </h4>#}
{##}
{#                    <p><span class="time">{{ item.releaseTime }} - </span> {{ item.description|safe }} </p>#}
{##}
{#                    <p>{{ item.stockCode }} - {{ item.companyShortName }}#}
{#                        {% if item.type %}#}
{#                            - {{ item.type }}#}
{#                        {% endif %}#}
{#                    </p>#}
{#                </div>#}
{#            {% endfor %}#}
{#        </div>#}
{##}
{#    </div>#}

{#    <hr>#}

{#    <div class="me-box">#}
{#        <form action="{{ url_for('web.trans') }}" method="post" enctype="multipart/form-data">#}
{#            <span>上传PDF</span>#}
{#            <h5><b>上传PDF</b></h5>#}
{#            <hr>#}
{#            <input required type="file" name="pdffile" accept=".pdf"><br>#}
{#            <button type="submit" class="btn btn-default">提交</button>#}
{#        </form>#}
{#    </div>#}


{% endblock %}
